package com.shangma.utils;

import cn.hutool.core.io.FileUtil;
import cn.hutool.poi.excel.ExcelReader;
import cn.hutool.poi.excel.ExcelUtil;
import cn.hutool.poi.word.Word07Writer;
import freemarker.template.Configuration;
import freemarker.template.Template;

import java.awt.*;
import java.io.FileOutputStream;
import java.io.OutputStreamWriter;
import java.io.Writer;
import java.util.HashMap;
import java.util.Map;
import java.util.List;

public class TestDemo {

    public static void main(String[] args) {
        ExcelReader reader = ExcelUtil.getReader("d:/employee.xlsx");
        List<Map<String,Object>> readAll = reader.readAll();
        System.out.println(readAll);

//        ExcelReader reader = ExcelUtil.getReader("d:/employee.xlsx");
//        List<List<Object>> readAll = reader.read();
    }




}
